package cn.edu.dlut.port.isp.repostitory;

import java.util.List;

import org.springframework.data.repository.CrudRepository;

import cn.edu.dlut.port.isp.bean.Comp_info;


// This will be AUTO IMPLEMENTED by Spring into a Bean called userRepository
// CRUD refers Create, Read, Update, Delete

public interface CompanyRepository extends CrudRepository<Comp_info, Integer> {
	/**
     * 扩展,按ID查询
     * @param id
     * @return
     */
    public List<Comp_info> findByid(Integer id);
}
